package cumeo89.chii.client.entry;

import java.util.EventListener;

import com.google.gwt.xml.client.Attr;
import com.google.gwt.xml.client.Element;
import com.google.gwt.xml.client.Node;

public interface EntryModelListener extends EventListener {

	void documentUpdated(EntryModel model);
	
	void nodeInserted(EntryModel model, Node node);

	void nodeRemoved(EntryModel model, Node node, Node parent, Node refChild);

	void attrSetted(EntryModel model, Element element, Attr attr,
			String oldValue);

	void attrRemoved(EntryModel model, Element element, Attr attr);

	void nodeUpdated(EntryModel model, Node node, String oldValue);

}
